package com.csproj.dispatch.service.mapper;

import com.csproj.dispatch.domain.Logistics;
import com.csproj.dispatch.service.dto.LogisticsDTO;
import com.csproj.siiat.service.mapper.EntityMapper;
import org.mapstruct.Mapper;

/**
 * Mapper for the entity Logistics and its DTO LogisticsDTO.
 */
@Mapper(componentModel = "spring", uses = {})
public interface LogisticsMapper extends EntityMapper<LogisticsDTO, Logistics> {

    

    

    default Logistics fromId(String id) {
        if (id == null) {
            return null;
        }
        Logistics logistics = new Logistics();
        logistics.setId(id);
        return logistics;
    }
}
